import React, { Component } from "react";
import { Row, Col } from "antd";
import Header from "./componets/Header/Header.jsx";
import Footer from "./componets/Footer/Footer.jsx";
import NavLeft from "./componets/NavLeft/NavLeft.jsx";
import "./style/common.scss";


export default class Admin extends Component {
  render() {
    return (
      <div>
        <Row className="container">
                <Col span={4} className="nav-left">
                    <NavLeft/>
                </Col>
                <Col span={20} className="main">
                    <Header/>
                    <Row className="content">
                        {/* <Home/> */}
                        {this.props.children}
                    </Row>
                    <Footer/>
                </Col>
            </Row>
      </div>
    );
  }
}
